package zust.itee.se;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Group2 implements GroupI {
    private  int id;
    @Value("${group2.name:G20}")
    private  String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String info(){
        return "Group2ID:"+id+",Group2Name:"+name;
    }
}
